/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.cd.cms.modules.mid.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cd.cms.common.persistence.Page;
import com.cd.cms.common.service.CrudService;
import com.cd.cms.modules.mid.entity.TorderProduct;
import com.cd.cms.modules.mid.dao.TorderProductDao;

/**
 * 订单产品Service
 * @author XueD
 * @version 2016-05-10
 */
@Service
@Transactional(readOnly = true)
public class TorderProductService extends CrudService<TorderProductDao, TorderProduct> {

	public TorderProduct get(String id) {
		return super.get(id);
	}
	
	public List<TorderProduct> findList(TorderProduct torderProduct) {
		return super.findList(torderProduct);
	}
	
	public Page<TorderProduct> findPage(Page<TorderProduct> page, TorderProduct torderProduct) {
		return super.findPage(page, torderProduct);
	}
	
	@Transactional(readOnly = false)
	public void save(TorderProduct torderProduct) {
		super.save(torderProduct);
	}
	
	@Transactional(readOnly = false)
	public void delete(TorderProduct torderProduct) {
		super.delete(torderProduct);
	}
	
}